package com.gitee.dolt.event;


import com.gitee.dolt.enumeration.OptLogOut;
import com.gitee.dolt.model.OptLogDTO;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * 系统日志事件
 *
 * @author LYH
 */
public class OptLogEvent extends ApplicationEvent {

    @Getter
    private OptLogOut out;

    public OptLogEvent(OptLogDTO source, OptLogOut out) {
        this(source);
        this.out = out;
    }

    public OptLogEvent(OptLogDTO source) {
        super(source);
    }

}
